#ifndef DDAS_GLOBALS_H
#define DDAS_GLOBALS_H

#include <matrix\gsl_matrix.h>

#include "lip.h"

#include "ddas_results.h"

//#define DEBUG_MODE

#ifdef DEBUG_MODE
#include "util.h"
#endif

extern DDAS_CLIENT_RESULT_SET* result_set;

extern const char* DATA_FILE_NAME;
extern const char* SCOPING_FILE_NAME;

extern double SLEEP_UNIT;
extern int BINARY_ARRAY_SIZE;

extern gsl_matrix* master;
extern gsl_matrix* independent;
extern gsl_vector* dependent;

extern int columns_used;
extern int dependent_var_count;
extern int independent_var_count;
extern int results_to_return;
extern int row_count;

extern verylong total_result_count;
extern verylong starting_value;
extern verylong ending_value;

void free_globals();

#endif



